{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { textEllipsis } from '../../style';\nvar genStepsNavStyle = function genStepsNavStyle(token) {\n  var _container, _$concat2, _$concat3, _$concat4, _ref;\n  var componentCls = token.componentCls,\n    stepsNavContentMaxWidth = token.stepsNavContentMaxWidth,\n    stepsNavArrowColor = token.stepsNavArrowColor,\n    stepsNavActiveColor = token.stepsNavActiveColor,\n    motionDurationSlow = token.motionDurationSlow;\n  return _ref = {}, _defineProperty(_ref, \"&\".concat(componentCls, \"-navigation\"), (_$concat3 = {\n    paddingTop: token.paddingSM\n  }, _defineProperty(_$concat3, \"&\".concat(componentCls, \"-small\"), _defineProperty({}, \"\".concat(componentCls, \"-item\"), {\n    '&-container': {\n      marginInlineStart: -token.marginSM\n    }\n  })), _defineProperty(_$concat3, \"\".concat(componentCls, \"-item\"), (_$concat2 = {\n    overflow: 'visible',\n    textAlign: 'center',\n    '&-container': (_container = {\n      display: 'inline-block',\n      height: '100%',\n      marginInlineStart: -token.margin,\n      paddingBottom: token.paddingSM,\n      textAlign: 'start',\n      transition: \"opacity \".concat(motionDurationSlow)\n    }, _defineProperty(_container, \"\".concat(componentCls, \"-item-content\"), {\n      maxWidth: stepsNavContentMaxWidth\n    }), _defineProperty(_container, \"\".concat(componentCls, \"-item-title\"), Object.assign(Object.assign({\n      maxWidth: '100%',\n      paddingInlineEnd: 0\n    }, textEllipsis), {\n      '&::after': {\n        display: 'none'\n      }\n    })), _container)\n  }, _defineProperty(_$concat2, \"&:not(\".concat(componentCls, \"-item-active)\"), _defineProperty({}, \"\".concat(componentCls, \"-item-container[role='button']\"), {\n    cursor: 'pointer',\n    '&:hover': {\n      opacity: 0.85\n    }\n  })), _defineProperty(_$concat2, '&:last-child', {\n    flex: 1,\n    '&::after': {\n      display: 'none'\n    }\n  }), _defineProperty(_$concat2, '&::after', {\n    position: 'absolute',\n    top: \"calc(50% - \".concat(token.paddingSM / 2, \"px)\"),\n    insetInlineStart: '100%',\n    display: 'inline-block',\n    width: token.fontSizeIcon,\n    height: token.fontSizeIcon,\n    borderTop: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(stepsNavArrowColor),\n    borderBottom: 'none',\n    borderInlineStart: 'none',\n    borderInlineEnd: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(stepsNavArrowColor),\n    transform: 'translateY(-50%) translateX(-50%) rotate(45deg)',\n    content: '\"\"'\n  }), _defineProperty(_$concat2, '&::before', {\n    position: 'absolute',\n    bottom: 0,\n    insetInlineStart: '50%',\n    display: 'inline-block',\n    width: 0,\n    height: token.lineWidthBold,\n    backgroundColor: stepsNavActiveColor,\n    transition: \"width \".concat(motionDurationSlow, \", inset-inline-start \").concat(motionDurationSlow),\n    transitionTimingFunction: 'ease-out',\n    content: '\"\"'\n  }), _$concat2)), _defineProperty(_$concat3, \"\".concat(componentCls, \"-item\").concat(componentCls, \"-item-active::before\"), {\n    insetInlineStart: 0,\n    width: '100%'\n  }), _$concat3)), _defineProperty(_ref, \"&\".concat(componentCls, \"-navigation\").concat(componentCls, \"-vertical\"), _defineProperty({}, \"> \".concat(componentCls, \"-item\"), (_$concat4 = {\n    marginInlineEnd: 0,\n    '&::before': {\n      display: 'none'\n    }\n  }, _defineProperty(_$concat4, \"&\".concat(componentCls, \"-item-active::before\"), {\n    top: 0,\n    insetInlineEnd: 0,\n    insetInlineStart: 'unset',\n    display: 'block',\n    width: token.lineWidth * 3,\n    height: \"calc(100% - \".concat(token.marginLG, \"px)\")\n  }), _defineProperty(_$concat4, '&::after', {\n    position: 'relative',\n    insetInlineStart: '50%',\n    display: 'block',\n    width: token.controlHeight * 0.25,\n    height: token.controlHeight * 0.25,\n    marginBottom: token.marginXS,\n    textAlign: 'center',\n    transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'\n  }), _defineProperty(_$concat4, \"> \".concat(componentCls, \"-item-container > \").concat(componentCls, \"-item-tail\"), {\n    visibility: 'hidden'\n  }), _$concat4))), _defineProperty(_ref, \"&\".concat(componentCls, \"-navigation\").concat(componentCls, \"-horizontal\"), _defineProperty({}, \"> \".concat(componentCls, \"-item > \").concat(componentCls, \"-item-container > \").concat(componentCls, \"-item-tail\"), {\n    visibility: 'hidden'\n  })), _ref;\n};\nexport default genStepsNavStyle;","map":{"version":3,"names":["textEllipsis","genStepsNavStyle","token","componentCls","stepsNavContentMaxWidth","stepsNavArrowColor","stepsNavActiveColor","motionDurationSlow","paddingTop","paddingSM","marginInlineStart","marginSM","overflow","textAlign","display","height","margin","paddingBottom","transition","maxWidth","Object","assign","paddingInlineEnd","cursor","opacity","flex","position","top","insetInlineStart","width","fontSizeIcon","borderTop","lineWidth","lineType","borderBottom","borderInlineStart","borderInlineEnd","transform","content","bottom","lineWidthBold","backgroundColor","transitionTimingFunction","marginInlineEnd","insetInlineEnd","marginLG","controlHeight","marginBottom","marginXS","visibility"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/steps/style/nav.js"],"sourcesContent":["import { textEllipsis } from '../../style';\nconst genStepsNavStyle = token => {\n  const {\n    componentCls,\n    stepsNavContentMaxWidth,\n    stepsNavArrowColor,\n    stepsNavActiveColor,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-navigation`]: {\n      paddingTop: token.paddingSM,\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item`]: {\n          '&-container': {\n            marginInlineStart: -token.marginSM\n          }\n        }\n      },\n      [`${componentCls}-item`]: {\n        overflow: 'visible',\n        textAlign: 'center',\n        '&-container': {\n          display: 'inline-block',\n          height: '100%',\n          marginInlineStart: -token.margin,\n          paddingBottom: token.paddingSM,\n          textAlign: 'start',\n          transition: `opacity ${motionDurationSlow}`,\n          [`${componentCls}-item-content`]: {\n            maxWidth: stepsNavContentMaxWidth\n          },\n          [`${componentCls}-item-title`]: Object.assign(Object.assign({\n            maxWidth: '100%',\n            paddingInlineEnd: 0\n          }, textEllipsis), {\n            '&::after': {\n              display: 'none'\n            }\n          })\n        },\n        [`&:not(${componentCls}-item-active)`]: {\n          [`${componentCls}-item-container[role='button']`]: {\n            cursor: 'pointer',\n            '&:hover': {\n              opacity: 0.85\n            }\n          }\n        },\n        '&:last-child': {\n          flex: 1,\n          '&::after': {\n            display: 'none'\n          }\n        },\n        '&::after': {\n          position: 'absolute',\n          top: `calc(50% - ${token.paddingSM / 2}px)`,\n          insetInlineStart: '100%',\n          display: 'inline-block',\n          width: token.fontSizeIcon,\n          height: token.fontSizeIcon,\n          borderTop: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          borderBottom: 'none',\n          borderInlineStart: 'none',\n          borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${stepsNavArrowColor}`,\n          transform: 'translateY(-50%) translateX(-50%) rotate(45deg)',\n          content: '\"\"'\n        },\n        '&::before': {\n          position: 'absolute',\n          bottom: 0,\n          insetInlineStart: '50%',\n          display: 'inline-block',\n          width: 0,\n          height: token.lineWidthBold,\n          backgroundColor: stepsNavActiveColor,\n          transition: `width ${motionDurationSlow}, inset-inline-start ${motionDurationSlow}`,\n          transitionTimingFunction: 'ease-out',\n          content: '\"\"'\n        }\n      },\n      [`${componentCls}-item${componentCls}-item-active::before`]: {\n        insetInlineStart: 0,\n        width: '100%'\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-vertical`]: {\n      [`> ${componentCls}-item`]: {\n        marginInlineEnd: 0,\n        '&::before': {\n          display: 'none'\n        },\n        [`&${componentCls}-item-active::before`]: {\n          top: 0,\n          insetInlineEnd: 0,\n          insetInlineStart: 'unset',\n          display: 'block',\n          width: token.lineWidth * 3,\n          height: `calc(100% - ${token.marginLG}px)`\n        },\n        '&::after': {\n          position: 'relative',\n          insetInlineStart: '50%',\n          display: 'block',\n          width: token.controlHeight * 0.25,\n          height: token.controlHeight * 0.25,\n          marginBottom: token.marginXS,\n          textAlign: 'center',\n          transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'\n        },\n        [`> ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          visibility: 'hidden'\n        }\n      }\n    },\n    [`&${componentCls}-navigation${componentCls}-horizontal`]: {\n      [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        visibility: 'hidden'\n      }\n    }\n  };\n};\nexport default genStepsNavStyle;"],"mappings":";AAAA,SAASA,YAAY,QAAQ,aAAa;AAC1C,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgB,CAAGC,KAAK,EAAI;EAAA;EAChC,IACEC,YAAY,GAKVD,KAAK,CALPC,YAAY;IACZC,uBAAuB,GAIrBF,KAAK,CAJPE,uBAAuB;IACvBC,kBAAkB,GAGhBH,KAAK,CAHPG,kBAAkB;IAClBC,mBAAmB,GAEjBJ,KAAK,CAFPI,mBAAmB;IACnBC,kBAAkB,GAChBL,KAAK,CADPK,kBAAkB;EAEpB,mDACOJ,YAAY;IACfK,UAAU,EAAEN,KAAK,CAACO;EAAS,yCACtBN,YAAY,2CACXA,YAAY,YAAU;IACxB,aAAa,EAAE;MACbO,iBAAiB,EAAE,CAACR,KAAK,CAACS;IAC5B;EACF,CAAC,yCAECR,YAAY;IACdS,QAAQ,EAAE,SAAS;IACnBC,SAAS,EAAE,QAAQ;IACnB,aAAa;MACXC,OAAO,EAAE,cAAc;MACvBC,MAAM,EAAE,MAAM;MACdL,iBAAiB,EAAE,CAACR,KAAK,CAACc,MAAM;MAChCC,aAAa,EAAEf,KAAK,CAACO,SAAS;MAC9BI,SAAS,EAAE,OAAO;MAClBK,UAAU,oBAAaX,kBAAkB;IAAE,yCACvCJ,YAAY,oBAAkB;MAChCgB,QAAQ,EAAEf;IACZ,CAAC,yCACGD,YAAY,kBAAgBiB,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC;MAC1DF,QAAQ,EAAE,MAAM;MAChBG,gBAAgB,EAAE;IACpB,CAAC,EAAEtB,YAAY,CAAC,EAAE;MAChB,UAAU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